package tool

import java.io.File

/**
 * Created by yz on 1/11/2022
 */
object Pojo {

  case class CommandData(workspace: File, commands: List[String], runFileName: String = "run.sh")

  object CommandData {

    def empty: CommandData = {
      val workspace: File = new File("")
      val commands: List[String] = List[String]()
      CommandData(workspace, commands)
    }

    def apply(workspace: File, command: String): CommandData = {
      new CommandData(workspace, List(command))
    }

  }

  case class PredictData(sampleId: String, name: String, age: String, ast: String, alt: String, plt: String)

  case class MyMessage(valid: Boolean, message: String)


}
